﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOABLL;
using TarreOA.TarreOAModels;

public partial class admin_ShowIntercourseInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            IntercourseInfo intercourseInfo = IntercourseInfoManager.FindByIntercourseInfoId(Convert.ToInt32(Request.QueryString["id"]));
            lblClient.Text = intercourseInfo.Client.ClientName;
            lblIntercourseInfoDate.Text = intercourseInfo.IntercourseInfoDate.ToShortDateString();
            lblIntercourseInfoContent.Text = intercourseInfo.IntercourseInfoContent;
            lblLinkman.Text = intercourseInfo.Linkman;
            lblRemark.Text = intercourseInfo.Remark;
        }
    }
}
